package mutsumimod.powers;

import com.megacrit.cardcrawl.actions.common.DrawCardAction;
import com.megacrit.cardcrawl.core.AbstractCreature;
import mutsumimod.MutsumiMod;

//TODO 改成睦瓜园记的效果
public class RushPower extends BasePower {
    public static final String POWER_ID = MutsumiMod.makeID(RushPower.class.getSimpleName());

    public RushPower(AbstractCreature owner, int amount) {
        super(POWER_ID, PowerType.BUFF, false, owner, null, amount, true, false);
        loadRegion("rushdown");
    }

    @Override
    public void updateDescription() {
        this.description = DESCRIPTIONS[0] + this.amount + DESCRIPTIONS[1];
    }

    @Override
    public void onChangeStand() {
        addToBot(new DrawCardAction(this.owner, this.amount));
    }
}
